package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 基本信息表
 * </p>
 *
 * @author zs
 * @since 2021-04-23
 */
@TableName("t_basicinfo")
public class TBasicinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 减排措施id
     */
    @TableField("red_id")
    private Integer redId;

    /**
     * 企业名称
     */
    @TableField("company_name")
    private String companyName;

    /**
     * 统一社会信用代码
     */
    @TableField("social_credit_code")
    private String socialCreditCode;

    /**
     * 企业生产经营地址
     */
    @TableField("company_address")
    private String companyAddress;

    /**
     * 行业类别
     */
    @TableField("company_type")
    private String companyType;

    /**
     * 所属园区
     */
    @TableField("owned_park")
    private String ownedPark;

    /**
     * 占地面积
     */
    @TableField("area")
    private String area;

    /**
     * 经纬度
     */
    @TableField("longitude_latitude")
    private String longitudeLatitude;

    /**
     * 是否停产   0标识未停产 1 标识停产
     */
    @TableField("id_discontinued")
    private Integer idDiscontinued;

    /**
     * 法定代表人
     */
    @TableField("legal_representative")
    private String legalRepresentative;

    /**
     * 环评批复号
     */
    @TableField("eia_number")
    private String eiaNumber;

    /**
     * 排污许可证编号
     */
    @TableField("pollution_permit_number")
    private String pollutionPermitNumber;

    /**
     * 企业联系人
     */
    @TableField("company_person")
    private String companyPerson;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 联系方式
     */
    @TableField("link_type")
    private String linkType;

    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 企业人数
     */
    @TableField("company_people")
    private Integer companyPeople;

    /**
     * 是否重点监管企业
     */
    @TableField("is_focus")
    private Integer isFocus;

    /**
     * 企业组织架构
     */
    @TableField("company_organization")
    private String companyOrganization;

    /**
     * 纬度
     */
    @TableField("latitude")
    private String latitude;

    /**
     * 排污许可证日期
     */
    @TableField("pollution_permit_date")
    private Date pollutionPermitDate;

     @TableField("business_license")
    // 营业执照
    private String businessLicense;

    @TableField("eia_approval")
    // 环评批复
    private String eiaApproval;

    @TableField("eia_acceptance")
    // 环评验收
    private String eiaAcceptance;


    @TableField("pollution_permit")
    // 排污许可证
    private String pollutionPermit;


    @TableField("floor_plan")
    // 厂区平面图
    private String floorPlan;

   //所属县
    @TableField("pid")
    private String pid;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getEiaApproval() {
        return eiaApproval;
    }

    public void setEiaApproval(String eiaApproval) {
        this.eiaApproval = eiaApproval;
    }

    public String getEiaAcceptance() {
        return eiaAcceptance;
    }

    public void setEiaAcceptance(String eiaAcceptance) {
        this.eiaAcceptance = eiaAcceptance;
    }

    public String getPollutionPermit() {
        return pollutionPermit;
    }

    public void setPollutionPermit(String pollutionPermit) {
        this.pollutionPermit = pollutionPermit;
    }

    public String getFloorPlan() {
        return floorPlan;
    }

    public void setFloorPlan(String floorPlan) {
        this.floorPlan = floorPlan;
    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRedId() {
        return redId;
    }

    public void setRedId(Integer redId) {
        this.redId = redId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getOwnedPark() {
        return ownedPark;
    }

    public void setOwnedPark(String ownedPark) {
        this.ownedPark = ownedPark;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getLongitudeLatitude() {
        return longitudeLatitude;
    }

    public void setLongitudeLatitude(String longitudeLatitude) {
        this.longitudeLatitude = longitudeLatitude;
    }

    public Integer getIdDiscontinued() {
        return idDiscontinued;
    }

    public void setIdDiscontinued(Integer idDiscontinued) {
        this.idDiscontinued = idDiscontinued;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getEiaNumber() {
        return eiaNumber;
    }

    public void setEiaNumber(String eiaNumber) {
        this.eiaNumber = eiaNumber;
    }

    public String getPollutionPermitNumber() {
        return pollutionPermitNumber;
    }

    public void setPollutionPermitNumber(String pollutionPermitNumber) {
        this.pollutionPermitNumber = pollutionPermitNumber;
    }

    public String getCompanyPerson() {
        return companyPerson;
    }

    public void setCompanyPerson(String companyPerson) {
        this.companyPerson = companyPerson;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLinkType() {
        return linkType;
    }

    public void setLinkType(String linkType) {
        this.linkType = linkType;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getCompanyPeople() {
        return companyPeople;
    }

    public void setCompanyPeople(Integer companyPeople) {
        this.companyPeople = companyPeople;
    }

    public Integer getIsFocus() {
        return isFocus;
    }

    public void setIsFocus(Integer isFocus) {
        this.isFocus = isFocus;
    }

    public String getCompanyOrganization() {
        return companyOrganization;
    }

    public void setCompanyOrganization(String companyOrganization) {
        this.companyOrganization = companyOrganization;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Date getPollutionPermitDate() {
        return pollutionPermitDate;
    }

    public void setPollutionPermitDate(Date pollutionPermitDate) {
        this.pollutionPermitDate = pollutionPermitDate;
    }

    @Override
    public String toString() {
        return "TBasicinfo{" +
        "id=" + id +
        ", redId=" + redId +
        ", companyName=" + companyName +
        ", socialCreditCode=" + socialCreditCode +
        ", companyAddress=" + companyAddress +
        ", companyType=" + companyType +
        ", ownedPark=" + ownedPark +
        ", area=" + area +
        ", longitudeLatitude=" + longitudeLatitude +
        ", idDiscontinued=" + idDiscontinued +
        ", legalRepresentative=" + legalRepresentative +
        ", eiaNumber=" + eiaNumber +
        ", pollutionPermitNumber=" + pollutionPermitNumber +
        ", companyPerson=" + companyPerson +
        ", createTime=" + createTime +
        ", linkType=" + linkType +
        ", delFlag=" + delFlag +
        ", companyPeople=" + companyPeople +
        ", isFocus=" + isFocus +
        ", companyOrganization=" + companyOrganization +
        ", latitude=" + latitude +
        ", pollutionPermitDate=" + pollutionPermitDate +
                ", businessLicense=" + businessLicense +
                ", eia_approval=" + eiaApproval +
                ", eia_acceptance=" + eiaAcceptance +
                ", pollution_permit=" + pollutionPermit +
                ", floor_plan=" + floorPlan +
                ", pid=" + pid +

        "}";
    }
}
